<template>
  <div class="app-container">
    <el-container>
      <el-header class="main-header">
        <h1>Django5+Pytorch+Vue3 示例项目 [AIG by Deepseek]</h1>
      </el-header>
      <el-main>
        <nav>
          <router-link to="/student">学生信息CRUD</router-link> |
          <router-link to="/mnist">图片识别</router-link>
        </nav>
        <br>
        <router-view />
      </el-main>
    </el-container>
  </div>
</template>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
}

.main-header {
  background-color: #244565;
  color: white;
  text-align: center;
  line-height: 60px;
  width: 1200px;
}

.app-container {
  max-width: 2400px;
  margin: 0 auto;
  padding: 20px;
}

.el-main {
  padding: 20px 0;
}
</style>